package com.none.web.model;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "rgt_reminder")
public class TBookreminder implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 3394529545236745330L;
	@Id
	private Integer id;
	private String staffname;//借书人
	private Integer booksn;//要借书的id
	private String bookName;//书名
	private String status;//是否已经推送过，Y or N
	private String devicetype;//设备类型：IOS或者android
	private String userID;//推送用的userId，不是staffId
	private String channelId;//推送用的channelId
	private Timestamp addtime;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false,updatable=false)
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	@Column(name = "staffname")
	public String getStaffname() {
		return staffname;
	}
	public void setStaffname(String staffname) {
		this.staffname = staffname;
	}
	@Column(name = "booksn")
	public Integer getBooksn() {
		return booksn;
	}
	public void setBooksn(Integer booksn) {
		this.booksn = booksn;
	}
	@Column(name = "bookName")
	public String getBookName() {
		return bookName;
	}
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	@Column(name = "status")
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	@Column(name = "devicetype")
	public String getDevicetype() {
		return devicetype;
	}
	public void setDevicetype(String devicetype) {
		this.devicetype = devicetype;
	}
	@Column(name = "userID")
	public String getUserID() {
		return userID;
	}
	public void setUserID(String userID) {
		this.userID = userID;
	}
	@Column(name = "channelId")
	public String getChannelId() {
		return channelId;
	}
	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}
	@Column(name = "addtime")
	public Timestamp getAddtime() {
		return addtime;
	}
	public void setAddtime(Timestamp addtime) {
		this.addtime = addtime;
	}
	
	
}
